﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CardLogistics.Web.Components;
using System.Text;

namespace CardLogistics.Web.MainPage.PutInCard.PutInCard
{
    public partial class PutInCardDetailedRpt : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string putInId = Request.QueryString["putInId"];//入库单号ID
          
            StringBuilder sbStr = new StringBuilder();
            sbStr.Append(" SELECT * FROM v_putincarddetailedrpt WHERE 1=1  and Issubmit=5");
            sbStr.Append(" and Id='"+putInId+"'");

            //if (putInNo.Trim().Length > 0)
            //    sbStr.Append(" and PutInNo like '%" + putInNo.Trim().ToUpper() + "%' ");//入库单号
            sbStr.Append(" Order by PutInNo,StartNo,EndNo,CardNo");
            OracleXMLReportData.GenNodeXmlData(this, sbStr.ToString(), true);
        }
    }
}